package com.ews.onlineexchange.app.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import javax.persistence.Transient;


public class TempQualificationTemplate implements Serializable {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;
	private String 						id;
	private List<TempSector> sectors = new ArrayList<TempSector>();
	private TempQualificationClass 		qualificationClass;
	private TempQualificationLevel 		qualificationLevel;
	private Set<TempSector>					treeSector;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<TempSector> getSectors() {
		return sectors;
	}

	public void setSectors(List<TempSector> sectors) {
		this.sectors = sectors;
	}

	public TempQualificationClass getQualificationClass() {
		return qualificationClass;
	}

	public void setQualificationClass(TempQualificationClass qualificationClass) {
		this.qualificationClass = qualificationClass;
	}

	public TempQualificationLevel getQualificationLevel() {
		return qualificationLevel;
	}

	public void setQualificationLevel(TempQualificationLevel qualificationLevel) {
		this.qualificationLevel = qualificationLevel;
	}

	public Set<TempSector> getTreeSector() {
		return treeSector;
	}

	public void setTreeSector(Set<TempSector> treeSector) {
		this.treeSector = treeSector;
	}

	
	
//	@Transient
//	public String getDetail() {
//		StringBuilder sb = new StringBuilder();
//		sb	.append(getQualificationClass().getName())
//			.append("-");
//		
//		for (TempSector sector : sectors) {
//			sb	.append(sector.getFullSectorName());
////				.append(";");				
//		}
//		
//		sb	.append("（")
//			.append(getQualificationLevel().getAvailableNames())
//			.append("）");
//		return sb.toString();
//	}
	
	

}
